package com.example.a086.httpdemo.http.base;

import android.content.Context;

import java.io.File;
import java.util.Map;

/**
 * Created by 086 on 2018/5/8.
 */

public interface IHttpEngine {
    void get(Context context, String url, Map<String, Object> map, EngineCallback callback);

    void post(Context context, String url, String body, EngineCallback callback);

    void uploadFile(String url,Map<String, Object> params, Map<String, File> files,EngineCallback callback);
}
